#include "stdafx.h"
#include "GraphicsResources.h"

#include "LoadShader.h"
#include "LoadTexture.h"
#include "InputLayouts.h"
#include "Text.h"
#include "Mesh.h"
#include "Material.h"

using namespace mgfx;

GraphicsResources::GraphicsResources()
{
	InputLayouts::init();
	Material::createDefault();
}

GraphicsResources::~GraphicsResources()
{
	Mesh::freeAll();
	Material::freeAll();
}
